home *** CD-ROM | disk | FTP | other *** search
- #
- # Error message database
- #
- # Format:
- # leading space is allowed
- # blank lines are allowed
- # if the first non-blank character is #, the line is a comment
- # messages are:
- # name (any character but left paren, equal sign or white space)
- # optional white space
- # if substitutes appear in the message, the count must appear as:
- # left parenthesis
- # optional white space
- # digit string for the count (really only one digit)
- # optional white space
- # optional right parenthesis
- # optional white space
- # optional equal sign
- # optional white space
- # pattern (to end of line)
- #
- # example:
- #
- # message ( 3 ) = this is a %1 %2 %3 three substitute message
- #
- # substitutes are marked in the pattern by a percent character followed
- # by a digit with no intervening characters. Any other char
- # following a % is just stuffed into the output, so %% prints
- # one % character.
- #
- # white space is C isspace characters
- #
- #
- # javac errors
- #
- bad.option(1)= Incorrect command line option '%1'
- warn.unimplemented.option(1)= warning: Command line option '%1' has not been implemented
- warn.na.option(1)= warning: Command line option '%1' does not apply to this compiler
- dest.not.dir(1)= Destination '%1' is not a directory
- #
- # generate errors
- #
- cant.make.dir(1)= Cannot create package directory '%1'
- cant.make.classfile(1)= Cannot create class file '%1'
- write.failed= Write of classfile failed, possibly the disk is full
- illegal.static.lhs(2) Can't make a static reference to nonstatic variable '%1' in class '%2'
- illegal.lhs Illegal lval (can't assign to this item)
- #
- # scanner errors
- #
- unknown.char(2)= Invalid character in input: '%1' (%2)
- number.format= Number format error
- invalid.oct.number= Invalid character in octal number.
- invalid.dec.number= Invalid character in number.
- invalid.hex.number= Invalid character in hex number.
- invalid.literal.char= Invalid character constant.
- #
- # parser errors
- #
- package.no.iden= Package name must be an identifier
- package.no.dot= Package name elements must be separated by .
- class.interface.expected= 'class' or 'interface' keyword expected.
- class.name.expected= Expected a class name
- syntax.error= Syntax error
- dup.class.mod(1)= Repeated '%1' class modifier
- class.body.expected= Expected the body of the class definition
- import.no.iden= Import expects a class name
- import.no.sm= Import statement needs a semi-colon
- interface.not.final= Interfaces cannot be declared 'final'
- unexpected.rc= Unexpected }
- dup.decl.mod(1)= Repeated '%1' declaration modifier
- conflict.decl.mod= Inconsistent member declaration. At most one of public, private or protected may be specified.
- final.volatile.var = Volatile variables can't be final or members of interfaces
- constructor.bad.mod(1)= Constructor cannot appear with '%1' modifier
- type.expected= Type expected or missing '}'
- rb.expected= ']' expected
- extra.package.stmt= Package name is already defined
- dup.class.name.local(2)= Class %1 is already defined at line %2
- dup.variable.name.local(2)= Variable %1 is already defined in this method (previous definition on line line %2)
- dup.parameter.name(1)= Duplicate parameter declaration: %1
- var.name.expected= Variable or method name expected
- var.native.sync.abs= Variables can't be synchronized, abstract or native
- unexpected.array.init= Array initializer may not appear with non-array type
- wrong.constructor= Incorrect name in constructor
- void.variable= Cannot declare a variable with void type
- void.array= Cannot declare an array of void
- void.param= Cannot declare a parameter with void type
- no.close.params= No end of parameter list
- param.name.expected= Parameter name expected
- param.missing.comma= Parameter list is missing a comma
- volatile.method(1)= Method '%1' can't be volatile. Only variables can be volatile.
- transient.method(1)= Method '%1' can't be transient. Only variables can be transient.
- method.body.expected(1)= Expected the body of the method: %1
- method.body.not.expected(1)= Abstract and native methods can't have a body: %1
- constructor.body.expected= Expected the body of the constructor
- no.block.close= End of file without a } for a block
- expression.syntax= Expression syntax
- return.syntax= Return statement missing semi-colon
- missing.sm= ';' expected.
- missing.call.rp= Call arguments missing )
- constructor.missing.args= New operation needs constructor argument list
- if.missing.lp= If statement missing left parenthesis
- if.missing.rp= If statement missing right parenthesis
- misplaced.else= 'else' without 'if'.
- switch.missing.lp= Switch statement missing left parenthesis
- switch.missing.rp= Switch statement missing right parenthesis
- switch.missing.lc= Switch statement must enclose a block
- break.missing.sm= Break missing semi-colon
- continue.missing.sm= Continue missing semi-colon
- undefined.break.name(1)= No label definition found for '%1'
- undefined.continue.name(1)= Continue to undefined label '%1'
- label.not.loop(1)= Continue to non-loop label '%1'
- misplaced.break= 'break' must be in loop or switch.
- misplaced.continue= 'continue' must be in loop.
- misplaced.case= 'case' outside switch statement.
- case.missing.co= Case label missing colon
- default.missing.co= Default label missing colon
- misplaced.default= 'default' outside switch statement.
- duplicate.default= Duplicate 'default' label
- for.missing.lp= For statement missing left parenthesis
- for.missing.sm= For statement missing semi-colon
- for.missing.rp= For statement missing right parenthesis
- subscript.missing.rb= Array subscript mising right bracket
- while.missing.lp= While statement missing left parenthesis
- while.missing.rp= While statement missing right parenthesis
- do.missing.while= Do-while statment missing while keyword
- do.missing.lp= Do-while statement missing left parenthesis
- do.missing.rp= Do-while statement missing right parenthesis
- cast.syntax= Cast syntax
- array.size.needed= Array dimension missing.
- try.missing.lc= Try statements must enclose a block
- try.missing.catch= 'try' without 'catch' or 'finally'.
- catch.missing.lc= Catch clauses must enclose a block
- catch.missing.lp= Catch clause missing left parenthesis
- catch.missing.name= Must declare a variable name for the exception
- catch.missing.rp= Catch clause missing right parenthesis
- catch.type= Catch parameter does not derive from java.lang.Throwable
- catch.not.reached= catch not reached.
- throw.syntax= Throw statement missing semi-colon
- no.throw.for.catch(1)= Exception %1 is never thrown in the body of the corresponding try statement.
- throw.type(1)= Class %1 does not extend java.lang.Throwable
- throws.not.caught(2)= Exception %1 thrown from %2 must be caught, or it must be declared in the throws clause of this method
- throw.not.caught(1)= Exception %1 must be caught, or it must be declared in the throws clause of this method
- static.throw= An exception can't be thrown in an initializer.
- synch.missing.lp= Synchronized statement missing left parenthesis
- synch.missing.rp= Synchronized statement missing right parenthesis
- synch.missing.lc= Synchronized statement must enclose a block
- incorrect.label= Incorrect statement label, must be simple identifier
- finally.missing.lc= Finally clause must enclose a block
- improper.super= Improper use of super
- sync.type(1)= Incompatible type for synchronized. Can't convert %1 to java.lang.Object.
- #
- # symbol errors
- #
- dup.class.name(3)= Class %1 is already defined in '%2' at line %3
- undef.class(1)= Class %1 not found in type declaration or import.
- public.class.filename(1)= Public class %1 must be defined in a file called "%1.java".
- final.class.mod(2)= Class %1 can't subclass final class %2
- dup.import(2)= Import of '%1' clashes with imported class on line %2
- class.dups.import(2)= Class name %1 clashes with imported class on line %2
- ambig.class(1)= Ambiguous class name '%1'
- cant.read.classfile(1)= Cannot read class file '%1'
- reference.ambiguous(3)= Reference to '%1' is ambiguous. It is defined in '%2' and '%3'
- package.not.found(1)= Package %1 not found in import.
- implements.class(1)= class %1 must be an interface.
- uninitialized.variable= Uninitialized variable
- final.abstract.method= Inconsistent declaration. Cannot be both final and abstract
- static.abstract.method= Inconsistent declaration. Cannot be both static and abstract
- private.abstract.method= Inconsistent declaration. Cannot be both private and abstract
- #
- # tree typing errors
- #
- undef.variable(1)= Undefined variable, class, or package name: %1
- undef.method(1)= No method found matching %1
- undef.constructor(2)= No constructor in %1 matches %2
- undef.field(1)= No variable %1 defined in class
- not.class.type= Object does not have a class type
- not.array.type= Object does not have an array type
- no.super(1)= No super class for '%1'
- super.not.first= Call to super constructor is not first in the method
- super.not.constructor= Call to super not in constructor
- this.not.first= Call to this constructor is not first in the method
- this.not.constructor= Call to this not in constructor
- incomp.type.asg(2)= Incompatible type for =. Can't convert %1 to %2.
- cannot.new= Cannot use operator new for this type
- incomp.type(2)= Invalid cast from %1 to %2.
- cant.instanceof(2)= %2 cannot be an instance of %1
- explicit.cast(2)= Explicit cast needed to convert %1 to %2
- disallowed.type(1)= %1 operand type is not allowed for this operator
- return.value.needed= Return required at end of method.
- return.value.disallowed= 'return' with value from void method().
- return.type= Incompatible type for return.
- return.type.cast.needed= Incompatible type for return; explicit cast needed
- improper.class.ref= Improper use of a class name
- not.static.method(1)= '%1' is not a static method
- static.method(1)= '%1' is a static method
- array.new.missing.bounds= Array new is missing an array bounds
- const.needed= Constant expression required.
- dup.case= Duplicate case label
- omitted.bound= Cannot provide an array dimension after omitting one
- circular.init= Circular constant definition
- circular.super(1)= Inheritance loop in definition for '%1'
- #
- # class load errors
- #
- bad.class.file(1)= Class file format incorrect for '%1'
- wrong.class.version(3)= Class file '%1' has incorrect version %2, should be %3
- #
- # semantic errors
- #
- must.be.abstract(3)= Class %1 must be declared abstract. It does not define %2 declared in %3
- redefined.different.return= Method redefined with different return type
- redefined.more.private= Methods can't be overridden to be more private
- not.abstract.and.final(1)= Class %1 can't be declared both abstract and final
- not.reached= Statement not reached.
- out.of.memory= Cannot allocate memory
- zip.error(1)= File in classpath is not a zip or jar file: %1
- illegal.static.reference(2)= Can't make a static reference to nonstatic variable %1 in class %2
- illegal.interface.method.mod(1)= Interface methods can't be native, static, synchronized, final, private, or protected : %1
- static.method.not.overridden(2)= Static methods can't be overridden. Method %1 is static in class %2
- final.method.not.overridden(2)= Final methods can't be overridden. Method %1 is final in class %2
- interface.no.constructor= Interfaces can't have constructors.
- interface.no.static.block= Interfaces can't have static initializers.
- filename.suffix(1)= Java source files must have a .java suffix: %1
- interface.repeated(1)= Interface %1 repeated.
- bad.stack.frame(1)= Cannot find stack frame %1
- usage.javac= usage: javac [ options ] sources
- usage.options.heading= Options:
- usage.classpath= -classpath path Search for classes in the named path
- usage.d= -d dir Place classes relative to directory 'dir'
- usage.g= -g Include full debugging info
- usage.xdepend= -xdepend Print class locations and dependencies
- usage.jws= -jws Same as -xdepend
- usage.nomessage= -nomessage Do not print out any error messages
- usage.nowarn= -nowarn Do not print out warning messages
- usage.nowrite= -nowrite Do not produce class files
- usage.err= -err=N Terminate after N errors
- usage.msg= -msg=N Terminate after N messages
- usage.depend= -depend Not implemented
- usage.deprecation= -deprecation Not implemented
- usage.verbose= -verbose Not implemented
- usage.O= -O Not implemented
- usage.debug= -debug Not implemented
- too.many.errors= Too many errors
- too.many.messages= Too many messages
- cannot.open.source(1)= Cannot open source file '%1'
- error.count(1)= %1 error
- errors.count(1)= %1 errors
- warning.count(1)= %1 warning
- warnings.count(1)= %1 warnings
- internal.codegen.error(1)= Internal code generator error: %1
- internal.tree.error(1)= Internal parse tree error: %1
- internal.evalexpr.error(1)= Internal expression evaluator error: %1
- big.division= 64bit long / emulation cannot do this division
- big.remainder= 64bit long % emulation cannot do this remainder
- init.parse= Cannot parse initializer
- evalexpr.null.array= NullPointerException detected in array subscripting
- evalexpr.array.bounds= IndexOutOfBoundsException detected
- evalexpr.not.found(1)= Cannot access this variable at this line: %1
- evalexpr.cannot.evaluate= Cannot evaluate this expression
- evalexpr.no.calls= Cannot call methods
- warn.divide.by.zero= warning: Integer divide by zero detected
- warn.rem.by.zero= warning: Integer remainder by zero detected
-